      AREA |C$$code|, CODE, READONLY
|x$codeseg|

      EXPORT GetCPUID
      ; extern "C" int GetCPUID();
      
GetCPUID
      mrc p15, 0, r3, c0, c0, 0
      mov r0, r3
      mov pc, lr
|x$dataseg|
	END
